<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>foreignObject</title>
    <style>
        .outline {
            outline: 2px solid red;
            outline-offset: -2px;
        }

        .container {
            width: 480px;
            height: 270px;
            background: #eeeeee;
            margin: 10px auto 0 auto;
            user-select: none;
            padding: 20px;
            box-sizing: border-box;
        }
        .container > img {
            display: block;
            margin: 0 auto;
            width: 120px;
            height: 120px;
            border-radius: 50%;
        }
        .container > p:nth-child(2) {
            font-weight: bold;
            text-align: center;
        }
        .container > p:nth-child(3) {
            width: 80%;
            margin:0 auto;
            text-align: left;
        }
    </style>
</head>
<body>
    <!-- <img width="300" height="150" src='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><foreignObject width="200" height="150"><body xmlns="http://www.w3.org/1999/xhtml" style="background:red;"><p style="font-size:12px;margin:0;">这里是测试foreignObject元素的图形性质代码。</p></body></foreignObject></svg>' /> -->
    <div id="container" class="container">
        <img src="./0.jpg" alt="头像">
        <p>- 长天 -</p>
        <p>对网文潮流具有极敏锐嗅觉，有丰富写作指导经验。带出血红、猫腻、。。。。</p>
    </div>
    <script src="./index.js"></script>
</body>
</html>